c program to find transpose of matrix